package com.ruubypay.activiti.service;

import com.ruubypay.activiti.domain.InstanceBusiness;
import com.ruubypay.activiti.domain.TaskVo;
import org.apache.ibatis.annotations.Param;


import java.util.List;
import java.util.Map;

public interface ITaskService {
    List<Map> findTodoList(TaskVo taskVo);
    Integer findTodoCount(TaskVo taskVo);
    List<Map> findDoneList(TaskVo taskVo);
    Integer findDoneCount(TaskVo taskVo);

    int insertInstanceBusiness(InstanceBusiness instanceBusiness);

    Map<String, Object> selectInstanceBusinessByInstanceId(String instanceId);

    Map<String, Object> selectBusinessByBusinessKeyAndModule(@Param("id") String id, @Param("module") String module);
}
